﻿@{
    Layout = null;
    
}
@model List<LeEdu.MODEL.Refund>
@{
    ViewBag.Title = "courserefund";
   
}

<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="">
<!--<![endif]-->
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>
        课程退款管理 -
        账务
        | EduSoho
    </title>

    <link href="http://www.zhishile.com/files/system/2015/06-20/102236c61b61855109.ico?6.9.6" rel="shortcut icon">

    
    
</head>
<body>
    <!-- 网页头部分布视图 -->
    @Html.Partial("~/Views/Shared/HouTai_Header.cshtml")
    @Html.Partial("~/Views/Shared/HouTai_DaoHang.cshtml")
    <center>


        <div id="jing" class="col-sm-12">
            
        </div>
    </center>
    <div class="container">
        <div class="row">

            <div class="col-md-2">

                <div class="list-group">

                    <a class="list-group-item " href="finance">账单管理</a>

                    <a class="list-group-item" href="virtualcoin">虚拟币管理</a>

                    <a class="list-group-item active" href="courserefund">课程退款管理</a>

                    <a class="list-group-item" href="Graderefund">班级退款管理</a>


                </div>
            </div>

            <div class="col-md-10">
                <div class="page-header clearfix">
                    <h1 class="pull-left">课程退款管理</h1>
                    <div class="pull-right">


                    </div>
                </div>







                <form id="user-search-form" class="form-inline well well-sm" action="" method="get" novalidate="">
                    <div class="form-group">
                        <select class="form-control" name="status">
                            <option value="">退款状态</option>
                            <option value="created" selected="selected">已申请</option>
                            <option value="success">退款成功</option>
                            <option value="failed">退款失败</option>
                            <option value="cancelled">已取消</option>
                        </select>
                    </div>

                    <div class="form-group">
                        <input class="form-control" name="nickname" placeholder="退款人用户名" type="text">
                    </div>


                    <div class="form-group">
                        <input class="form-control" name="title" placeholder="课程名" type="text">
                    </div>

                    <div class="form-group">
                        <input class="form-control" name="orderSn" placeholder="订单号" type="text">
                    </div>

                    <button class="btn btn-primary">搜索</button>

                </form>

                <table class="table table-striped table-hover" id="refunds-table">
                    <thead>
                        <tr>
                            <th width="50%">退款订单</th>
                            <th>订单成交金额</th>
                            <th>退款人</th>
                            <th>退款状态</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        @if (Model == null)
                        {
                            <tr><td colspan="20"><div class="empty">暂无退款记录</div></td></tr>
                        }
                        else
                        {
                            foreach (var item in Model)
                            {
                                <tr>
                                    <td>@item.Order.Oname</td>
                                    <td>@item.Order.Oprice</td>
                                    <td>
                                        @item.UserInfo.Uname
                                    </td>
                                    <td>@item.Tstade</td>
                                    <td>
                                        <a href="/Trade/selectrefunce/@item.TID" class="btn btn-sm btn-default" data-toggle="modal" data-target="#exampleModaDD">查看</a>
                                        
                                    </td>
                                </tr>
                            }
                        }
                       
                    </tbody>
                </table>

                <div class="paginator">

                </div>

            </div>

        </div>
    </div>


    <script>
        var app = {};
        app.debug = false;
        app.version = '6.9.6';
        app.httpHost = 'http://www.zhishile.com';
        app.basePath = '';
        app.theme = 'jianmo';
        app.themeGlobalScript = 'theme/global-script';
        app.jsPaths = { "common": "common", "theme": "\/themes\/jianmo\/js", "customwebbundle": "\/bundles\/customweb\/js", "customadminbundle": "\/bundles\/customadmin\/js", "topxiawebbundle": "\/bundles\/topxiaweb\/js", "topxiaadminbundle": "\/bundles\/topxiaadmin\/js", "classroombundle": "\/bundles\/classroom\/js" };

        app.crontab = '/common/crontab';

        var CKEDITOR_BASEPATH = app.basePath + '/assets/libs/ckeditor/4.6.7/';

        app.config = { "api": { "weibo": { "key": "" }, "qq": { "key": "" }, "douban": { "key": "" }, "renren": { "key": "" } }, "cloud": { "video_player": "http:\/\/cdn.staticfile.org\/GrindPlayerCN\/1.0.2\/GrindPlayer.swf", "video_player_watermark_plugin": "http:\/\/cdn.staticfile.org\/GrindPlayerCN\/1.0.2\/Watermake-1.0.3.swf", "video_player_fingerprint_plugin": "http:\/\/cdn.staticfile.org\/GrindPlayerCN\/1.0.2\/Fingerprint-1.0.1.swf" }, "loading_img_path": "\/assets\/img\/default\/loading.gif?6.9.6" };

        app.arguments = {};
        app.controller = 'order/refunds';

        app.scripts = null;

        app.uploadUrl = '/file/upload';
        app.imgCropUrl = '/file/img/crop';
        app.lessonCopyEnabled = '0';

        app.mainScript = '/bundles/topxiaadmin/js/admin-app.js?6.9.6';
    </script>
    

    <script>
        seajs.use(app.mainScript);
    </script>  <div id="modal" class="modal"></div>
    <div class="fixed-bar">
        <a href="http://www.zhishile.com/admin/feedback" target="_blank" class="icon-question-text feedback">
            <i class="es-icon es-icon-help"></i>
            <span>产品<br>反馈</span>
        </a>
    </div>

    @*查看课程订单信息模态框*@
    <div class="modal fade" id="exampleModaDD" tabindex="-1" role="dialog"
         aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
            </div><!-- /.modal-content -->
        </div>
    </div>
    @*清除每次查看课程订单信息模态框的查询结果*@
    <script>
        $("#exampleModaDD").on("hidden.bs.modal", function () {
            $(this).removeData("bs.modal");
        })
    </script>



</body>
</html>

